Skip to content

[codex] add .pyi readiness context - #11

Merged
saidctb merged 4 commits into
mainfrom
codex/pyi-readiness-overrides
May 21, 2026
Merged

[codex] add .pyi readiness context#11
saidctb merged 4 commits into
mainfrom
codex/pyi-readiness-overrides

Conversation

@saidctb

@saidctb saidctb commented May 20, 2026

Copy link
Copy Markdown
Contributor

Adds parser-side .pyi readiness context for imported derived types, literal Final constants, and Callable callback signatures.\n\nTests run:\n- python3 -m pytest -q tests/parser/test_pyi_readiness_context.py\n- python3 -m pytest -q tests/parser/test_pyi_readiness_context.py tests/parser/test_wrap_readiness.py tests/parser/test_procedure_and_type_parsing.py tests/parser/test_cli.py\n- python3 -m pytest -q tests/parser\n- python3 -m pytest -q tests/pyi\n- python3 -m pytest -q tests/semantics\n\nThis PR is intentionally not merged.

@codecov

codecov Bot commented May 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.68580% with 54 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
semantics/readiness.py 86.08% 22 Missing and 5 partials ⚠️
x2py/cli.py 89.52% 9 Missing and 2 partials ⚠️
semantics/pyi_printer.py 9.09% 9 Missing and 1 partial ⚠️
semantics/pyi_parser.py 68.42% 3 Missing and 3 partials ⚠️
Flag Coverage Δ
py312 92.75% <83.68%> (-0.64%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
fortran_parser/parser.py 90.83% <ø> (-0.03%) ⬇️
x2py/__init__.py 100.00% <100.00%> (ø)
semantics/pyi_parser.py 94.13% <68.42%> (-1.31%) ⬇️
semantics/pyi_printer.py 95.06% <9.09%> (-4.08%) ⬇️
x2py/cli.py 95.35% <89.52%> (-1.94%) ⬇️
semantics/readiness.py 86.08% <86.08%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@saidctb
saidctb marked this pull request as ready for review May 21, 2026 00:24
@saidctb
saidctb merged commit 34cc967 into main May 21, 2026
4 of 5 checks passed
@saidctb
saidctb deleted the codex/pyi-readiness-overrides branch May 21, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant